﻿using System.Web.Mvc;

namespace Presentation.Web.Admin.Areas.Open
{
    public class OpenAreaRegistration : AreaRegistration
    {
        public override string AreaName
        {
            get
            {
                return "Open";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                "Open_default",
                "Open/{controller}/{action}/{id}",
                new { controller = "Home", action = "Index", id = UrlParameter.Optional }, null,
                new string[] { "Presentation.Web.Admin.Areas.Open.Controllers" }
            );
        }
    }
}
